﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EditorHtml.ascx.cs" Inherits=" RzCorportativo.Recursos.uc.EditorHtml" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<CKEditor:CKEditorControl runat="server" ID="editor" BasePath="~/Recursos/ckeditor/" ResizeEnabled="false" >
</CKEditor:CKEditorControl>
<%=EFramework.Web.Html.HtmlTags.CreateJavaScritpTag("ckeditor/ckeditor.js", true)%>
<script type="text/javascript">
    window.onload = function () {

        CKEDITOR.replace('<%=editor.UniqueID%>', { filebrowserImageUploadUrl: '<%=base.ResolveUrl(EFramework.Web.Configuration.WebConfig.GetSection("urlUpload"))%>' });
    }
</script>